package com.coin.model;

import com.coin.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import lombok.*;
import org.springframework.security.core.authority.SimpleGrantedAuthority;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/5/26
 * @Description: com.coin.model
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "登录的结果")
public class LoginResult implements Serializable {
    /**
     * 登录产生的token
     */
    private String token;

    /**
     * 前端的菜单数据
     */
    private List<SysMenu> menus;

    /**
     * 权限数据
     */
    private List<SimpleGrantedAuthority> authorities;
}
